<html>
  <head>
	  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>i5ting_ztree_toc:微信小程序商城API文档</title>
		<link href="toc/style/github-bf51422f4bb36427d391e4b75a1daa083c2d840e.css" media="all" rel="stylesheet" type="text/css"/>
		<link href="toc/style/github2-d731afd4f624c99a4b19ad69f3083cd6d02b81d5.css" media="all" rel="stylesheet" type="text/css"/>
		<link href="toc/css/zTreeStyle/zTreeStyle.css" media="all" rel="stylesheet" type="text/css"/>
	  <style>
		pre {
		    counter-reset: line-numbering;
		    border: solid 1px #d9d9d9;
		    border-radius: 0;
		    background: #fff;
		    padding: 0;
		    line-height: 23px;
		    margin-bottom: 30px;
		    white-space: pre;
		    overflow-x: auto;
		    word-break: inherit;
		    word-wrap: inherit;
		}

		pre a::before {
		  content: counter(line-numbering);
		  counter-increment: line-numbering;
		  padding-right: 1em; /* space after numbers */
		  width: 25px;
		  text-align: right;
		  opacity: 0.7;
		  display: inline-block;
		  color: #aaa;
		  background: #eee;
		  margin-right: 16px;
		  padding: 2px 10px;
		  font-size: 13px;
		  -webkit-touch-callout: none;
		  -webkit-user-select: none;
		  -khtml-user-select: none;
		  -moz-user-select: none;
		  -ms-user-select: none;
		  user-select: none;
		}

		pre a:first-of-type::before {
		  padding-top: 10px;
		}

		pre a:last-of-type::before {
		  padding-bottom: 10px;
		}

		pre a:only-of-type::before {
		  padding: 10px;
		}

		.highlight { background-color: #ffffcc } /* RIGHT */
		</style>
  </head>
  <body>
	  <div>
				<div style='width:25%;'>
						<ul id="tree" class="ztree" style='width:100%'>

						</ul>
				</div>
        <div id='readme' style='width:70%;margin-left:20%;'>
          	<article class='markdown-body'>
            	<h1 id="-api-">电商移动前端API文档</h1>
<h2 id="-">路径说明</h2>
<ul>
<li>根路径说明<pre><code>https://uinav.com/api/public/v1/
</code></pre></li>
</ul>
<h2 id="-">电商登录实现方式</h2>
<ul>
<li>采用 jwt 方式进行</li>
<li>实现流程<ol>
<li>请求登录</li>
<li>获取token</li>
<li>访问有权限的路径必须把 token 放置到 http 头中<pre><code> &quot;Authorization&quot; : token
</code></pre></li>
<li>token 有一定有效期，如果服务器返回 token 无效则需要重新登录</li>
</ol>
</li>
</ul>
<h2 id="api-">API详情</h2>
<h3 id="-">全局权限访问</h3>
<ul>
<li>访问根路径<pre><code>https://www.zhengzhicheng.cn/api/public/v1
</code></pre></li>
</ul>
<h4 id="-api">主页API</h4>
<h5 id="-">获取首页轮播图数据</h5>
<ul>
<li>请求路径：/home/swiperdata</li>
<li>请求方法：GET</li>
<li>请求参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>无</td>
<td></td>
</tr>
</tbody>
</table>
<ul>
<li>响应参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>image_src</td>
<td>图片路径</td>
<td></td>
</tr>
<tr>
<td>open_type</td>
<td>导航链接类型</td>
<td></td>
</tr>
<tr>
<td>navigator_url</td>
<td>导航链接路径</td>
</tr>
</tbody>
</table>
<ul>
<li>响应数据</li>
</ul>
<pre><code class="lang-JSON">{
  &quot;message&quot;: [
    {
      &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/banner1.png&quot;,
      &quot;open_type&quot;: &quot;navigate&quot;,
      &quot;navigator_url&quot;: &quot;/pages/goods_detail?goods_id=55578&quot;
    },
    {
      &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/banner2.png&quot;,
      &quot;open_type&quot;: &quot;navigate&quot;,
      &quot;navigator_url&quot;: &quot;/pages/goods_detail?goods_id=17927&quot;
    },
    {
      &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/banner3.png&quot;,
      &quot;open_type&quot;: &quot;navigate&quot;,
      &quot;navigator_url&quot;: &quot;/pages/goods_detail?goods_id=51216&quot;
    }
  ],
  &quot;meta&quot;: { &quot;msg&quot;: &quot;获取成功&quot;, &quot;status&quot;: 200 }
}
</code></pre>
<h5 id="-">获取首页分类选项数据</h5>
<ul>
<li>请求路径：/home/catitems</li>
<li>请求方法：GET</li>
<li>请求参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>无</td>
<td></td>
</tr>
</tbody>
</table>
<ul>
<li>响应参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>name</td>
<td>名称</td>
<td></td>
</tr>
<tr>
<td>image_src</td>
<td>图片路径</td>
<td></td>
</tr>
<tr>
<td>open_type</td>
<td>导航链接类型</td>
<td></td>
</tr>
<tr>
<td>navigator_url</td>
<td>导航链接路径</td>
</tr>
</tbody>
</table>
<ul>
<li>响应数据</li>
</ul>
<pre><code class="lang-javascript">{
  &quot;message&quot;: [
    {
      &quot;name&quot;: &quot;分类&quot;,
      &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/icon_index_nav_4@2x.png&quot;,
      &quot;open_type&quot;: &quot;switchTab&quot;,
      &quot;navigator_url&quot;: &quot;/pages/tabs/cates&quot;
    },
    {
      &quot;name&quot;: &quot;秒杀拍&quot;,
      &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/icon_index_nav_3@2x.png&quot;,
      &quot;open_type&quot;: &quot;navigate&quot;,
      &quot;navigator_url&quot;: &quot;/pages/goods_list?query=秒杀&quot;
    },
    {
      &quot;name&quot;: &quot;超市购&quot;,
      &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/icon_index_nav_2@2x.png&quot;,
      &quot;open_type&quot;: &quot;navigate&quot;,
      &quot;navigator_url&quot;: &quot;/pages/goods_list?query=超市&quot;
    },
    {
      &quot;name&quot;: &quot;母婴品&quot;,
      &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/icon_index_nav_1@2x.png&quot;,
      &quot;open_type&quot;: &quot;navigate&quot;,
      &quot;navigator_url&quot;: &quot;/pages/goods_list?query=母婴&quot;
    }
  ],
  &quot;meta&quot;: { &quot;msg&quot;: &quot;获取成功&quot;, &quot;status&quot;: 200 }
}
</code></pre>
<h5 id="-">获取首页楼层数据</h5>
<ul>
<li>请求路径：/home/floordata</li>
<li>请求方法：GET</li>
<li>请求参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>无</td>
<td></td>
</tr>
</tbody>
</table>
<ul>
<li>响应参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>floor_title</td>
<td>楼层标题</td>
<td></td>
</tr>
<tr>
<td>product_list</td>
<td>楼层内容列表</td>
<td></td>
</tr>
<tr>
<td>name</td>
<td>名称</td>
<td></td>
</tr>
<tr>
<td>image_src</td>
<td>图片路径</td>
<td></td>
</tr>
<tr>
<td>image_width</td>
<td>商品图片宽度</td>
<td></td>
</tr>
<tr>
<td>open_type</td>
<td>导航链接类型</td>
<td></td>
</tr>
<tr>
<td>navigator_url</td>
<td>导航链接路径</td>
</tr>
</tbody>
</table>
<ul>
<li>响应数据</li>
</ul>
<pre><code class="lang-javascript">{
  &quot;message&quot;: [
    {
      &quot;floor_title&quot;: {
        &quot;name&quot;: &quot;时尚女装&quot;,
        &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor01_title.png&quot;
      },
      &quot;product_list&quot;: [
        {
          &quot;name&quot;: &quot;优质服饰&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor01_1@2x.png&quot;,
          &quot;image_width&quot;: &quot;232&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=服饰&quot;
        },
        {
          &quot;name&quot;: &quot;春季热门&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor01_2@2x.png&quot;,
          &quot;image_width&quot;: &quot;233&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=热&quot;
        },
        {
          &quot;name&quot;: &quot;爆款清仓&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor01_3@2x.png&quot;,
          &quot;image_width&quot;: &quot;233&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=爆款&quot;
        },
        {
          &quot;name&quot;: &quot;倒春寒&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor01_4@2x.png&quot;,
          &quot;image_width&quot;: &quot;233&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=春季&quot;
        },
        {
          &quot;name&quot;: &quot;怦然心动&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor01_5@2x.png&quot;,
          &quot;image_width&quot;: &quot;233&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=心动&quot;
        }
      ]
    },
    {
      &quot;floor_title&quot;: {
        &quot;name&quot;: &quot;户外活动&quot;,
        &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor02_title.png&quot;
      },
      &quot;product_list&quot;: [
        {
          &quot;name&quot;: &quot;勇往直前&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor02_1@2x.png&quot;,
          &quot;image_width&quot;: &quot;232&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=户外&quot;
        },
        {
          &quot;name&quot;: &quot;户外登山包&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor02_2@2x.png&quot;,
          &quot;image_width&quot;: &quot;273&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=登山包&quot;
        },
        {
          &quot;name&quot;: &quot;超强手套&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor02_3@2x.png&quot;,
          &quot;image_width&quot;: &quot;193&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=手套&quot;
        },
        {
          &quot;name&quot;: &quot;户外运动鞋&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor02_4@2x.png&quot;,
          &quot;image_width&quot;: &quot;193&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=运动鞋&quot;
        },
        {
          &quot;name&quot;: &quot;冲锋衣系列&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor02_5@2x.png&quot;,
          &quot;image_width&quot;: &quot;273&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=冲锋衣&quot;
        }
      ]
    },
    {
      &quot;floor_title&quot;: {
        &quot;name&quot;: &quot;箱包配饰&quot;,
        &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor03_title.png&quot;
      },
      &quot;product_list&quot;: [
        {
          &quot;name&quot;: &quot;清新气质&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor03_1@2x.png&quot;,
          &quot;image_width&quot;: &quot;232&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=饰品&quot;
        },
        {
          &quot;name&quot;: &quot;复古胸针&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor03_2@2x.png&quot;,
          &quot;image_width&quot;: &quot;263&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=胸针&quot;
        },
        {
          &quot;name&quot;: &quot;韩版手链&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor03_3@2x.png&quot;,
          &quot;image_width&quot;: &quot;203&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=手链&quot;
        },
        {
          &quot;name&quot;: &quot;水晶项链&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor03_4@2x.png&quot;,
          &quot;image_width&quot;: &quot;193&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=水晶项链&quot;
        },
        {
          &quot;name&quot;: &quot;情侣表&quot;,
          &quot;image_src&quot;: &quot;http://p6lmyfkof.bkt.clouddn.com/pic_floor03_5@2x.png&quot;,
          &quot;image_width&quot;: &quot;273&quot;,
          &quot;open_type&quot;: &quot;navigate&quot;,
          &quot;navigator_url&quot;: &quot;/pages/goods_list?query=情侣表&quot;
        }
      ]
    }
  ],
  &quot;meta&quot;: { &quot;msg&quot;: &quot;获取成功&quot;, &quot;status&quot;: 200 }
}
</code></pre>
<h4 id="-api">商品API</h4>
<h5 id="-">搜索建议查询</h5>
<ul>
<li>请求路径：/goods/qsearch</li>
<li><p>请求方法：GET</p>
</li>
<li><p>请求参数</p>
</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>query</td>
<td>查询内容</td>
<td>如： goods/qsearch?query=小米</td>
</tr>
</tbody>
</table>
<ul>
<li>响应参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>goods_id</td>
<td>商品ID</td>
<td></td>
</tr>
<tr>
<td>goods_name</td>
<td>商品名称</td>
</tr>
</tbody>
</table>
<ul>
<li>响应数据</li>
</ul>
<pre><code class="lang-JSON">{
    &quot;message&quot;: [
        {
            &quot;goods_id&quot;: 57332,
            &quot;goods_name&quot;: &quot;400毫升 海鲜食品冷藏冰包 注水冰袋医用冰袋户外冷藏保鲜熟食冷藏反复使用（10个装）&quot;
        },
        {
            &quot;goods_id&quot;: 57194,
            &quot;goods_name&quot;: &quot;亿力洗车工具汽车美容用品海绵刷不伤车漆擦车海棉清洁海绵&quot;
        }
    ],
    &quot;meta&quot;: {
        &quot;msg&quot;: &quot;获取成功&quot;,
        &quot;status&quot;: 200
    }
}
</code></pre>
<h5 id="-">商品列表搜索</h5>
<ul>
<li>请求路径：/goods/search</li>
<li><p>请求方法：GET</p>
</li>
<li><p>请求参数</p>
</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>query</td>
<td>查询关键词</td>
<td></td>
</tr>
<tr>
<td>cid</td>
<td>分类ID</td>
<td>可选</td>
</tr>
<tr>
<td>pagenum</td>
<td>页数索引</td>
<td>可选默认第一页</td>
</tr>
<tr>
<td>pagesize</td>
<td>每页长度</td>
<td>可选默认20条</td>
</tr>
</tbody>
</table>
<ul>
<li>响应参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>total</td>
<td>总共记录</td>
<td></td>
</tr>
<tr>
<td>pagenum</td>
<td>当前页数</td>
<td></td>
</tr>
<tr>
<td>goods_id</td>
<td>商品ID</td>
<td></td>
</tr>
<tr>
<td>cat_id</td>
<td>分类ID</td>
<td></td>
</tr>
<tr>
<td>goods_name</td>
<td>商品名称</td>
<td></td>
</tr>
<tr>
<td>goods_price</td>
<td>商品价格</td>
<td></td>
</tr>
<tr>
<td>goods_number</td>
<td>商品数量</td>
<td></td>
</tr>
<tr>
<td>goods_weight</td>
<td>商品重量</td>
<td></td>
</tr>
<tr>
<td>goods_big_logo</td>
<td>商品大图标</td>
<td></td>
</tr>
<tr>
<td>goods_small_logo</td>
<td>商品小图标</td>
<td></td>
</tr>
<tr>
<td>add_time</td>
<td>商品添加时间</td>
<td></td>
</tr>
<tr>
<td>upd_time</td>
<td>商品更新时间</td>
<td></td>
</tr>
<tr>
<td>hot_mumber</td>
<td>热门商品数</td>
<td></td>
</tr>
<tr>
<td>cat_one_id</td>
<td>所属一级分类</td>
<td></td>
</tr>
<tr>
<td>cat_two_id</td>
<td>所属二级分类</td>
<td></td>
</tr>
<tr>
<td>cat_three_id</td>
<td>所属三级分类</td>
</tr>
</tbody>
</table>
<ul>
<li>响应数据</li>
</ul>
<pre><code class="lang-JSON">{
    &quot;message&quot;: {
        &quot;total&quot;: 2058,
        &quot;pagenum&quot;: &quot;1&quot;,
        &quot;goods&quot;: [
            {
                &quot;goods_id&quot;: 57332,
                &quot;cat_id&quot;: 998,
                &quot;goods_name&quot;: &quot;400毫升 海鲜食品冷藏冰包 注水冰袋医用冰袋户外冷藏保鲜熟食冷藏反复使用（10个装）&quot;,
                &quot;goods_price&quot;: 14,
                &quot;goods_number&quot;: 100,
                &quot;goods_weight&quot;: 100,
                &quot;goods_big_logo&quot;: &quot;http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_800x800.jpg&quot;,
                &quot;goods_small_logo&quot;: &quot;http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_400x400.jpg&quot;,
                &quot;add_time&quot;: 1516662792,
                &quot;upd_time&quot;: 1516662792,
                &quot;hot_mumber&quot;: 0,
                &quot;is_promote&quot;: false,
                &quot;cat_one_id&quot;: 962,
                &quot;cat_two_id&quot;: 981,
                &quot;cat_three_id&quot;: 998
            },
            {
                &quot;goods_id&quot;: 57194,
                &quot;cat_id&quot;: 992,
                &quot;goods_name&quot;: &quot;亿力洗车工具汽车美容用品海绵刷不伤车漆擦车海棉清洁海绵&quot;,
                &quot;goods_price&quot;: 29,
                &quot;goods_number&quot;: 100,
                &quot;goods_weight&quot;: 100,
                &quot;goods_big_logo&quot;: &quot;&quot;,
                &quot;goods_small_logo&quot;: &quot;&quot;,
                &quot;add_time&quot;: 1516662312,
                &quot;upd_time&quot;: 1516662312,
                &quot;hot_mumber&quot;: 0,
                &quot;is_promote&quot;: false,
                &quot;cat_one_id&quot;: 962,
                &quot;cat_two_id&quot;: 980,
                &quot;cat_three_id&quot;: 992
            }
        ]
    },
    &quot;meta&quot;: {
        &quot;msg&quot;: &quot;获取成功&quot;,
        &quot;status&quot;: 200
    }
}
</code></pre>
<h5 id="-">商品详情</h5>
<ul>
<li>请求路径：/goods/detail</li>
<li><p>请求方法：GET</p>
</li>
<li><p>请求参数</p>
</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>goods_id</td>
<td>商品ID</td>
<td>必要</td>
</tr>
</tbody>
</table>
<ul>
<li>响应参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>goods_id</td>
<td>商品ID</td>
<td></td>
</tr>
<tr>
<td>cat_id</td>
<td>分类ID</td>
<td></td>
</tr>
<tr>
<td>goods_name</td>
<td>商品名称</td>
<td></td>
</tr>
<tr>
<td>goods_price</td>
<td>商品价格</td>
<td></td>
</tr>
<tr>
<td>goods_number</td>
<td>商品数量</td>
<td></td>
</tr>
<tr>
<td>goods_weight</td>
<td>商品重量</td>
<td></td>
</tr>
<tr>
<td>goods_big_logo</td>
<td>商品大图标</td>
<td></td>
</tr>
<tr>
<td>goods_small_logo</td>
<td>商品小图标</td>
<td></td>
</tr>
<tr>
<td>add_time</td>
<td>商品添加时间</td>
<td></td>
</tr>
<tr>
<td>upd_time</td>
<td>商品更新时间</td>
<td></td>
</tr>
<tr>
<td>hot_mumber</td>
<td>热门商品数</td>
<td></td>
</tr>
<tr>
<td>cat_one_id</td>
<td>所属一级分类</td>
<td></td>
</tr>
<tr>
<td>cat_two_id</td>
<td>所属二级分类</td>
<td></td>
</tr>
<tr>
<td>cat_three_id</td>
<td>所属三级分类</td>
<td></td>
</tr>
<tr>
<td>goods_introduce</td>
<td>商品介绍HTML富文本</td>
<td></td>
</tr>
<tr>
<td>pics</td>
<td>商品图片列表</td>
<td></td>
</tr>
<tr>
<td>attrs</td>
<td>商品属性列表</td>
</tr>
</tbody>
</table>
<ul>
<li>响应数据</li>
</ul>
<pre><code class="lang-javascript">{
    &quot;message&quot;: {
        &quot;goods_id&quot;: 57332,
        &quot;cat_id&quot;: 998,
        &quot;goods_name&quot;: &quot;400毫升 海鲜食品冷藏冰包 注水冰袋医用冰袋户外冷藏保鲜熟食冷藏反复使用（10个装）&quot;,
        &quot;goods_price&quot;: 14,
        &quot;goods_number&quot;: 100,
        &quot;goods_weight&quot;: 100,
        &quot;goods_introduce&quot;: &quot;&lt;div class=\&quot;lazyimg\&quot;&gt;&lt;!-- Save for Web Slices (20170730关联模板.psd) --&gt;\n&lt;p&gt;&lt;img data-src=\&quot;//image.suning.cn/uimg/sop/commodity/167890268714163515505319_x.jpg?from=mobile&amp;amp;format=80q.webp\&quot; alt=\&quot;\&quot; usemap=\&quot;#Map\&quot; border=\&quot;0\&quot; src=\&quot;//image.suning.cn/uimg/sop/commodity/167890268714163515505319_x.jpg?from=mobile&amp;format=80q.webp\&quot; width=\&quot;100%\&quot; height=\&quot;auto\&quot;&gt; &lt;/p&gt;\n&lt;!-- End Save for Web Slices --&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;img picsize=\&quot;706KB\&quot; data-src=\&quot;//image.suning.cn/uimg/sop/phonecomm/157271695856956094412300_640x.jpg?from=mobile&amp;amp;format=80q.webp\&quot; alt=\&quot;\&quot; src=\&quot;//image.suning.cn/uimg/sop/phonecomm/157271695856956094412300_640x.jpg?from=mobile&amp;format=80q.webp\&quot; width=\&quot;100%\&quot; height=\&quot;auto\&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;img picsize=\&quot;610KB\&quot; data-src=\&quot;//image.suning.cn/uimg/sop/phonecomm/192892939814201549766135_640x.jpg?from=mobile&amp;amp;format=80q.webp\&quot; alt=\&quot;\&quot; src=\&quot;//image.suning.cn/uimg/sop/phonecomm/192892939814201549766135_640x.jpg?from=mobile&amp;format=80q.webp\&quot; width=\&quot;100%\&quot; height=\&quot;auto\&quot;&gt;&lt;/p&gt;&lt;/div&gt;&quot;,
        &quot;goods_big_logo&quot;: &quot;http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_800x800.jpg&quot;,
        &quot;goods_small_logo&quot;: &quot;http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_400x400.jpg&quot;,
        &quot;goods_state&quot;: 2,
        &quot;is_del&quot;: &quot;0&quot;,
        &quot;add_time&quot;: 1516662792,
        &quot;upd_time&quot;: 1516662792,
        &quot;delete_time&quot;: null,
        &quot;hot_mumber&quot;: 0,
        &quot;is_promote&quot;: false,
        &quot;cat_one_id&quot;: 962,
        &quot;cat_two_id&quot;: 981,
        &quot;cat_three_id&quot;: 998,
        &quot;goods_cat&quot;: &quot;962,981,998&quot;,
        &quot;pics&quot;: [
            {
                &quot;pics_id&quot;: 234751,
                &quot;goods_id&quot;: 57332,
                &quot;pics_big&quot;: &quot;http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_800x800.jpg&quot;,
                &quot;pics_mid&quot;: &quot;http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_400x400.jpg&quot;,
                &quot;pics_sma&quot;: &quot;http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_200x200.jpg&quot;,
                &quot;pics_big_url&quot;: &quot;http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_800x800.jpg&quot;,
                &quot;pics_mid_url&quot;: &quot;http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_400x400.jpg&quot;,
                &quot;pics_sma_url&quot;: &quot;http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_200x200.jpg&quot;
            }
        ],
        &quot;attrs&quot;: [
            {
                &quot;goods_id&quot;: 57332,
                &quot;attr_id&quot;: 8519,
                &quot;attr_value&quot;: &quot;400&quot;,
                &quot;add_price&quot;: 0,
                &quot;attr_name&quot;: &quot;主体-型号&quot;,
                &quot;attr_sel&quot;: &quot;only&quot;,
                &quot;attr_write&quot;: &quot;manual&quot;,
                &quot;attr_vals&quot;: &quot;Q6&quot;
            }
        ]
    },
    &quot;meta&quot;: {
        &quot;msg&quot;: &quot;获取成功&quot;,
        &quot;status&quot;: 200
    }
}
</code></pre>
<h4 id="-api">分类API</h4>
<h5 id="-">获取分类数据</h5>
<ul>
<li>请求路径：/categories</li>
<li>请求方法：GET</li>
<li>请求参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>无</td>
<td></td>
</tr>
</tbody>
</table>
<ul>
<li>响应参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>cat_id</td>
<td>分类ID</td>
<td></td>
</tr>
<tr>
<td>cat_name</td>
<td>分类名称</td>
<td></td>
</tr>
<tr>
<td>cat_level</td>
<td>分类级别</td>
<td></td>
</tr>
<tr>
<td>cat_icon</td>
<td>分类图标</td>
<td>只有3级别分类采用图标</td>
</tr>
<tr>
<td>children</td>
<td>子分类列表</td>
<td>对象数组</td>
</tr>
</tbody>
</table>
<ul>
<li>响应数据</li>
</ul>
<pre><code class="lang-javascript">{
    &quot;message&quot;: [
        {
            &quot;cat_id&quot;: 1,
            &quot;cat_name&quot;: &quot;大家电&quot;,
            &quot;cat_pid&quot;: 0,
            &quot;cat_level&quot;: 0,
            &quot;cat_deleted&quot;: false,
            &quot;cat_icon&quot;: &quot;&quot;,
            &quot;children&quot;: [
                {
                    &quot;cat_id&quot;: 3,
                    &quot;cat_name&quot;: &quot;电视&quot;,
                    &quot;cat_pid&quot;: 1,
                    &quot;cat_level&quot;: 1,
                    &quot;cat_deleted&quot;: false,
                    &quot;cat_icon&quot;: &quot;&quot;,
                    &quot;children&quot;: [
                    {
                        &quot;cat_id&quot;: 5,
                        &quot;cat_name&quot;: &quot;曲面电视&quot;,
                        &quot;cat_pid&quot;: 3,
                        &quot;cat_level&quot;: 2,
                        &quot;cat_deleted&quot;: false,
                        &quot;cat_icon&quot;: &quot;full/2fb113b32f7a2b161f5ee4096c319afedc3fd5a1.jpg&quot;
                    }]
                }
            ]
        }
    ],
    &quot;meta&quot;: {
        &quot;msg&quot;: &quot;获取成功&quot;,
        &quot;status&quot;: 200
    }
}
</code></pre>
<h4 id="-api">微信用户登录  API</h4>
<h5 id="-token">微信登录换取 Token</h5>
<ul>
<li>请求路径：/users/wxlogin</li>
<li><p>请求方法：POST</p>
</li>
<li><p>请求参数</p>
</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>用户登录凭证</td>
<td>必要，可通过 <a href="https://developers.weixin.qq.com/miniprogram/dev/api/api-login.html#wxloginobject">wx.login()</a>  获取</td>
</tr>
<tr>
<td>encryptedData</td>
<td>完整用户信息密文</td>
<td>必要，可通过 getUserInfo 获取</td>
</tr>
<tr>
<td>iv</td>
<td>加密算法的初始向量</td>
<td>必要，可通过 getUserInfo 获取</td>
</tr>
<tr>
<td>rawData</td>
<td>用户信息原始数据字符串</td>
<td>必要，可通过 getUserInfo 获取，JSON.stringify() 转字符串</td>
</tr>
<tr>
<td>signature</td>
<td>使用 sha1得到字符串</td>
<td>必要，可通过 getUserInfo 获取</td>
</tr>
</tbody>
</table>
<ul>
<li>请求数据</li>
</ul>
<pre><code class="lang-json">{
  &quot;code&quot;: &quot;013pZWCt0GniKb1ftkBt0AxfDt0pZWCf&quot;,
  &quot;encryptedData&quot;: &quot;FGMaNbO4ytTFTUzK3wmtfHWoFeQJYkyMajQ5tVbQglwmnJ46SMi43Thq0OZjSSa5Msmnpdfx7yigYkdvUbsiQFyF9xMGEQLpUFcpNjnYoCQOl2Ka5zEeqpMY91ywYAsPISeu1rwvFCU2Ucenxf7gdcDPQ/jNJdORGb86DR+2gVJeg8TZiXWJ66enpynj35DiaE1jNWUSzpgbOvO40dZrWnHVwDEJN+upeSHRR/IW7t3cgtV63/GeZzNhFbUYqNHO6M1KHetwY1u8mFXuZoXwVV7DrEwEzY1btqcfW93q4ekn2uwAUeJM4U+3roBsIT5ZpEM8YtQZVsAwjaWHBe8id1H4lurEFC5/GwLnRONrIiR7KDF7MPxnMO9flWFQEfay5dt9rBELzk1Efjf2H6UnzYfh+o4MbPxtc0cUiHEnNCVcXjDtulXSRUy7RZQPmjF/tYBHHrXEFubxnK4oRBZz/A==&quot;,
  &quot;iv&quot;: &quot;y/ESFBaesbEzIbB1th5Knw==&quot;,
  &quot;rawData&quot;:
    &quot;{\&quot;nickName\&quot;:\&quot;优购\&quot;,\&quot;gender\&quot;:0,\&quot;language\&quot;:\&quot;zh_CN\&quot;,\&quot;city\&quot;:\&quot;\&quot;,\&quot;province\&quot;:\&quot;\&quot;,\&quot;country\&quot;:\&quot;\&quot;,\&quot;avatarUrl\&quot;:\&quot;https://wx.qlogo.cn/mmopen/vi_32/icWlxE4rARHaIlib1PRmBtRa2tQicUSEHYu8UIGZ0LLic9C0PticibED6brRFCuQYeLGtwTcBYFgMtcF11N31pVhMF8g/132\&quot;}&quot;,
  &quot;signature&quot;: &quot;d06cd3a54e89e6014e43694844706eaccad109bb&quot;
}
</code></pre>
<ul>
<li><p>响应参数
| 参数名     | 参数说明   | 备注   |
| ------- | ------ | ---- |
| token   | 身份验证标志 |      |
| user_id | 用户ID   |      |</p>
</li>
<li><p>响应数据</p>
</li>
</ul>
<pre><code class="lang-json">{
  &quot;message&quot;: {
    &quot;user_id&quot;: 12,
    &quot;user_email_code&quot;: null,
    &quot;is_active&quot;: null,
    &quot;user_sex&quot;: &quot;男&quot;,
    &quot;user_qq&quot;: &quot;&quot;,
    &quot;user_tel&quot;: &quot;&quot;,
    &quot;user_xueli&quot;: &quot;本科&quot;,
    &quot;user_hobby&quot;: &quot;&quot;,
    &quot;user_introduce&quot;: null,
    &quot;create_time&quot;: 1525402223,
    &quot;update_time&quot;: 1525402223,
    &quot;token&quot;:
      &quot;Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEyLCJpYXQiOjE1MjU0MDIyMjMsImV4cCI6MTUyNTQ4ODYyM30.g-4GtEQNPwT_Xs0Pq7Lrco_9DfHQQsBiOKZerkO-O-o&quot;
  },
  &quot;meta&quot;: { &quot;msg&quot;: &quot;登录成功&quot;, &quot;status&quot;: 200 }
}
</code></pre>
<h3 id="-">登录后访问</h3>
<ul>
<li>访问根路径<pre><code class="lang-javascript">https://www.zhengzhicheng.cn/api/public/v1/my
</code></pre>
</li>
<li>访问此系列请求必须在头信息中添加token<pre><code class="lang-JSON">&quot;Authorization&quot; : token
</code></pre>
</li>
</ul>
<h4 id="-api">订单API</h4>
<h5 id="-">创建订单</h5>
<ul>
<li>请求路径：<a href="http://ip:8888/api/public/v1/my/orders/create">http://ip:8888/api/public/v1/my/orders/create</a></li>
<li><p>请求方法：POST</p>
</li>
<li><p>请求参数</p>
</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>order_price</td>
<td>订单价格</td>
<td>必要</td>
</tr>
<tr>
<td>consignee_addr</td>
<td>订单地址</td>
<td>必要</td>
</tr>
<tr>
<td>order_detail</td>
<td>订单详情</td>
<td>可选，字符串格式</td>
</tr>
<tr>
<td>goods</td>
<td>商品列表内部存放商品（ID，amount和goods_price）列表</td>
<td>必要</td>
</tr>
</tbody>
</table>
<ul>
<li>请求数据
<code>`</code>javascript
{
&quot;order_price&quot;: 0.1,
&quot;consignee_addr&quot;: &quot;广州市天河区&quot;,
&quot;order_detail&quot;:
  &quot;[{\&quot;goods_id\&quot;:55578,\&quot;goods_name\&quot;:\&quot;初语2017秋装新款潮牌女装加绒宽松BF风慵懒卫衣女套头连帽上衣\&quot;,\&quot;goods_price\&quot;:279,\&quot;goods_small_logo\&quot;:\&quot;<a href="http://image2.suning.cn/uimg/b2c/newcatentries/0070067836-000000000690453616_2_400x400.jpg\&quot;,\&quot;counts\&quot;:1,\&quot;selectStatus\&quot;:true}]&quot;">http://image2.suning.cn/uimg/b2c/newcatentries/0070067836-000000000690453616_2_400x400.jpg\&quot;,\&quot;counts\&quot;:1,\&quot;selectStatus\&quot;:true}]&quot;</a>,
&quot;goods&quot;: [<pre><code>{ 
    &quot;goods_id&quot;: 5, 
    &quot;goods_number&quot;: 11, 
    &quot;goods_price&quot;: 15 
}
</code></pre>]
}</li>
</ul>
<pre><code>
- 响应参数

| 参数名            | 参数说明   | 备注                      |
| -------------- | ------ | ----------------------- |
| order_id       | 订单唯一ID |                         |
| user_id        | 用户ID   |                         |
| order_number   | 订单编号   |                         |
| order_price    | 订单总金额  |                         |
| order_pay      | 订单支付方式 | 支付方式 0未支付 1支付宝 2微信 3银行卡 |
| consignee_addr | 订单地址   |                         |
| pay_status     | 订单支付状态 | 订单状态： 0未付款、1已付款         |

- 响应数据

```javascript
{
  &quot;message&quot;: {
    &quot;order_id&quot;: 45,
    &quot;user_id&quot;: 12,
    &quot;order_number&quot;: &quot;GD20180504000000000045&quot;,
    &quot;order_price&quot;: 0.1,
    &quot;order_pay&quot;: &quot;0&quot;,
    &quot;is_send&quot;: &quot;否&quot;,
    &quot;trade_no&quot;: &quot;&quot;,
    &quot;order_fapiao_title&quot;: &quot;个人&quot;,
    &quot;order_fapiao_company&quot;: &quot;&quot;,
    &quot;order_fapiao_content&quot;: &quot;&quot;,
    &quot;consignee_addr&quot;: &quot;广州市天河区&quot;,
    &quot;pay_status&quot;: &quot;0&quot;,
    &quot;create_time&quot;: 1525408071,
    &quot;update_time&quot;: 1525408071,
    &quot;order_detail&quot;:
      &quot;[{\&quot;goods_id\&quot;:55578,\&quot;goods_name\&quot;:\&quot;初语2017秋装新款潮牌女装加绒宽松BF风慵懒卫衣女套头连帽上衣\&quot;,\&quot;goods_price\&quot;:279,\&quot;goods_small_logo\&quot;:\&quot;http://image2.suning.cn/uimg/b2c/newcatentries/0070067836-000000000690453616_2_400x400.jpg\&quot;,\&quot;counts\&quot;:1,\&quot;selectStatus\&quot;:true}]&quot;,
    &quot;goods&quot;: [
      {
        &quot;id&quot;: 64,
        &quot;order_id&quot;: 45,
        &quot;goods_id&quot;: 5,
        &quot;goods_price&quot;: 15,
        &quot;goods_number&quot;: 11,
        &quot;goods_total_price&quot;: 15
      }
    ]
  },
  &quot;meta&quot;: { &quot;msg&quot;: &quot;创建订单成功&quot;, &quot;status&quot;: 200 }
}

</code></pre><h5 id="-">订单支付</h5>
<ul>
<li>请求路径：<a href="http://ip:8888/api/public/v1/my/orders/req_unifiedorder">http://ip:8888/api/public/v1/my/orders/req_unifiedorder</a></li>
<li>请求方法：POST</li>
<li>请求参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>order_number</td>
<td>订单编号</td>
<td>必要</td>
</tr>
</tbody>
</table>
<ul>
<li>请求数据</li>
</ul>
<pre><code class="lang-json">{ &quot;order_number&quot;: &quot;GD20180507000000000110&quot; }
</code></pre>
<ul>
<li>响应参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>wxorder</td>
<td>订单对象</td>
<td>可通过 <a href="https://developers.weixin.qq.com/miniprogram/dev/api/wx.requestPayment.html">wx.requestPayment(OBJECT)</a>，发起微信支付</td>
</tr>
<tr>
<td>timeStamp</td>
<td>时间戳</td>
<td></td>
</tr>
<tr>
<td>nonceStr</td>
<td>随机字符串</td>
<td></td>
</tr>
<tr>
<td>package</td>
<td>下单接口返回参数</td>
<td></td>
</tr>
<tr>
<td>signType</td>
<td>签名算法</td>
<td></td>
</tr>
<tr>
<td>paySign</td>
<td>签名</td>
<td></td>
</tr>
<tr>
<td>order_number</td>
<td>订单编号</td>
</tr>
</tbody>
</table>
<ul>
<li>响应数据</li>
</ul>
<pre><code class="lang-JSON">{
  &quot;message&quot;: {
    &quot;wxorder&quot;: {
      &quot;timeStamp&quot;: &quot;1525681145&quot;,
      &quot;nonceStr&quot;: &quot;BkPggorBXZwPGXe3&quot;,
      &quot;package&quot;: &quot;prepay_id=wx071619042918087bb4c1d3d72999385683&quot;,
      &quot;signType&quot;: &quot;MD5&quot;,
      &quot;paySign&quot;: &quot;D1642DEEF1663C8012EDEB9297E1D516&quot;
    },
    &quot;order_number&quot;: &quot;GD20180507000000000110&quot;
  },
  &quot;meta&quot;: { &quot;msg&quot;: &quot;预付订单生成成功&quot;, &quot;status&quot;: 200 }
}
</code></pre>
<h5 id="-">订单支付状态查询</h5>
<ul>
<li>请求路径：<a href="http://ip:8888/api/public/v1/my/orders/chkOrder">http://ip:8888/api/public/v1/my/orders/chkOrder</a></li>
<li>请求方法：POST</li>
<li>请求参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>order_number</td>
<td>订单编号</td>
<td>必要</td>
</tr>
</tbody>
</table>
<ul>
<li>请求数据</li>
</ul>
<pre><code class="lang-json">{ &quot;order_number&quot;: &quot;GD20180507000000000050&quot; }
</code></pre>
<ul>
<li>响应参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>data</td>
<td>支付状态</td>
<td></td>
</tr>
<tr>
<td>meta</td>
<td>订单状态</td>
</tr>
</tbody>
</table>
<ul>
<li>响应数据</li>
</ul>
<pre><code class="lang-JSON">{
    &quot;data&quot;:&quot;支付成功&quot;,
    &quot;meta&quot;:{&quot;msg&quot;:&quot;验证成功&quot;,&quot;status&quot;:200}
}
// 或
{ 
    &quot;data&quot;: null,
    &quot;meta&quot;: { &quot;msg&quot;: &quot;订单未支付&quot;, &quot;status&quot;: 400 } 
}
</code></pre>
<h5 id="-">订单查询</h5>
<ul>
<li>请求路径：<a href="http://ip:8888/api/public/v1/my/orders/all">http://ip:8888/api/public/v1/my/orders/all</a></li>
<li>请求方法：GET</li>
<li>请求参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>type</td>
<td>1</td>
<td>1  全部订单     2 代付款订单    3 已付款订单</td>
</tr>
</tbody>
</table>
<ul>
<li>2响应参数</li>
</ul>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>order_id</td>
<td>订单唯一ID</td>
<td></td>
</tr>
<tr>
<td>user_id</td>
<td>用户ID</td>
<td></td>
</tr>
<tr>
<td>order_number</td>
<td>订单编号</td>
<td></td>
</tr>
<tr>
<td>order_price</td>
<td>订单价格</td>
<td></td>
</tr>
<tr>
<td>order_pay</td>
<td>订单支付方式</td>
<td></td>
</tr>
<tr>
<td>consignee_addr</td>
<td>订单地址</td>
<td></td>
</tr>
<tr>
<td>pay_status</td>
<td>订单支付状态</td>
</tr>
</tbody>
</table>
<ul>
<li>响应数据</li>
</ul>
<pre><code class="lang-json">{
  &quot;message&quot;: [
    {
      &quot;order_id&quot;: 44,
      &quot;user_id&quot;: 12,
      &quot;order_number&quot;: &quot;GD20180507000000000050&quot;,
      &quot;order_price&quot;: 0.1,
      &quot;order_pay&quot;: &quot;0&quot;,
      &quot;is_send&quot;: &quot;否&quot;,
      &quot;trade_no&quot;: &quot;&quot;,
      &quot;order_fapiao_title&quot;: &quot;个人&quot;,
      &quot;order_fapiao_company&quot;: &quot;&quot;,
      &quot;order_fapiao_content&quot;: &quot;&quot;,
      &quot;consignee_addr&quot;: &quot;广州市天河区&quot;,
      &quot;pay_status&quot;: &quot;0&quot;,
      &quot;create_time&quot;: 1525407814,
      &quot;update_time&quot;: 1525407814,
      &quot;order_detail&quot;:
        &quot;[{\&quot;goods_id\&quot;:55578,\&quot;goods_name\&quot;:\&quot;初语2017秋装新款潮牌女装加绒宽松BF风慵懒卫衣女套头连帽上衣\&quot;,\&quot;goods_price\&quot;:279,\&quot;goods_small_logo\&quot;:\&quot;http://image2.suning.cn/uimg/b2c/newcatentries/0070067836-000000000690453616_2_400x400.jpg\&quot;,\&quot;counts\&quot;:1,\&quot;selectStatus\&quot;:true}]&quot;
    }
  ],
  &quot;meta&quot;: { &quot;msg&quot;: &quot;获取订单列表成功&quot;, &quot;status&quot;: 200 }
}
</code></pre>

          	</article>
        </div>
		</div>
  </body>
</html>
<script type="text/javascript" src="toc/js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="toc/js/jquery.ztree.all-3.5.min.js"></script>
<script type="text/javascript" src="toc/js/ztree_toc.js"></script>
<script type="text/javascript" src="toc_conf.js"></script>

<SCRIPT type="text/javascript" >
<!--
$(document).ready(function(){
    var css_conf = eval(markdown_panel_style);
    $('#readme').css(css_conf)
    
    var conf = eval(jquery_ztree_toc_opts);
		$('#tree').ztree_toc(conf);
});
//-->
</SCRIPT>